<?php
/*
 * content : 测试模块 
 * Author  : Songyicong 
 * time    : 2018-04-20 10:14:07 
 * email   : m13726262373@163.com 
 */
namespace app\api\controller\v1;

use app\api\controller\BaseController;

class Test extends BaseController{

    public $ipAuth = false;
    public $apiAuth = false;
    public $isHeader = false;
    public $userAuth = true;
    public $tokenAuth = true;

    public function index(){
        // parent::index();
        dump($this->clientInfo);
        dump('index');die;
    }


    public function save(){
        dump('save');die;
    }

    public function read($id){
        dump($id);
        dump('read');die;
    }

    public function edit($id){
        dump($id);
        dump('edit');die;
    }

    public function update($id){
        dump($id);
        dump('update');die;
    }

    public function delete($id){
        dump($id);
        dump('delete');die;
    }

}